package com.spicesoft.clientobjects.samples.form;

import java.util.Date;

public class Customer {

  // Property names
  public static final String FIRST_NAME = "firstName";

  public static final String LAST_NAME = "lastName";

  public static final String BIRTH_DATE = "birthDate";

  public static final String CORPORATE_CUSTOMER = "corporateCustomer";

  public static final String PERMANENT_ADDRESS = "permanentAddress";

  public static final String MAILING_ADDRESS = "mailingAddress";

  // Properties
  private String firstName;

  private String lastName;

  private Date birthDate;

  private boolean corporateCustomer;

  private Address permanentAddress;

  private Address mailingAddress;

  // Getters & Setters
  public Date getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(Date birthDate) {
    this.birthDate = birthDate;
  }

  public boolean isCorporateCustomer() {
    return corporateCustomer;
  }

  public void setCorporateCustomer(boolean corporateCustomer) {
    this.corporateCustomer = corporateCustomer;
  }

  public String getFirstName() {
    return firstName;
  }

  public void setFirstName(String firstName) {
    this.firstName = firstName;
  }

  public String getLastName() {
    return lastName;
  }

  public void setLastName(String lastName) {
    this.lastName = lastName;
  }

  public Address getMailingAddress() {
    return mailingAddress;
  }

  public void setMailingAddress(Address mailingAddress) {
    this.mailingAddress = mailingAddress;
  }

  public Address getPermanentAddress() {
    return permanentAddress;
  }

  public void setPermanentAddress(Address permanentAddress) {
    this.permanentAddress = permanentAddress;
  }

}
